import java.applet.*;
import java.awt.event.*;
import java.awt.*;
import java.io.*;
public class Bank extends Applet{
	
	Panel p1=new Panel();
	int x;
	

	public void init(){
		
		Label laccount_no=new Label("Account Number:");
		TextField taccount_no=new TextField(8);
		Label laccount_type=new Label("Account Type:");
		TextField taccount_type=new TextField(8);
		Button click=new Button("Continue");
		
		p1.add(laccount_no);
		p1.add(taccount_no);
		p1.add(laccount_type);
		p1.add(taccount_type);
		p1.add(click);
		
		add(p1);
		
		click.addActionListener(new ActionListener(){
			public void actionPerformed(ActionEvent evt){
			
			//	Panel p2=new Panel();			
				Button deposit=new Button("Deposit");
				Button withdraw=new Button("Withdraw");
				p1.add(deposit);
				p1.add(withdraw);
				
				//add(p2);
				
				//repaint();
				
			}
		});
	}
	
	
}
